package com.mianyang.zhangsan.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @author jiangjr
 * @tablename sec_temp_bank
 */
@TableName(value ="sec_temp_bank")
@Data
public class SecTempBank implements Serializable {
    /**
     * 关系编号
     */
    @TableId(type = IdType.AUTO)
    private Long relationId;

    /**
     * 模板编号
     */
    private Long templateId;

    /**
     * 题库编号
     */
    private Long bankId;

    /**
     * 题目总数
     */
    private Integer problems;

    /**
     * 题目类型
     */
    private Integer problemType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
